import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SPlayerGroupBuy
    
    export  class SPlayerGroupBuy
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.itemCode);
            arg1.writeInt(this.buyRank);
            arg1.writeInt(this.buyPrice);
            arg1.writeInt(this.buyNum);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.itemCode = arg1.readInt();
            this.buyRank = arg1.readInt();
            this.buyPrice = arg1.readInt();
            this.buyNum = arg1.readInt();
            return;
        }

        public /* var */itemCode: int;

        public /* var */buyRank: int;

        public /* var */buyPrice: int;

        public /* var */buyNum: int;
    }
